<template>
  <div class="register">
    <h1 v-html="message"></h1>
    <router-link to="/user/login"><button>立即登录</button></router-link>
  </div>
</template>

<script>
export default {
  name: "register",
  data() {
    return {
      message: "This is Register.vue.",
      id: 1
    };
  },
  methods: {
    dosomething: function() {
      this.id += 1;
      console.log(this.id);
    }
  }
};
</script>
